package wfl.spec.edu;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.TextView;

public class ActivityFirst extends AppCompatActivity {

    private String str;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_first);
        Intent intent=getIntent();
        Bundle bundle=intent.getExtras();
        str=bundle.getString("1");
        WebView webView=(WebView) findViewById(R.id.wz);
        webView.getSettings().setJavaScriptEnabled(true);
        webView.setWebViewClient(new WebViewClient());
        webView.loadUrl("http://www.yyjsx.xyz/api/message/display/"+str);
        webView.setInitialScale(135);
    }
}
